import { Module } from 'vuex';
interface StateR {
    conversationId: string;
}
export const state: StateR = {
    conversationId: '',
};
const namespaced: boolean = true;
export  default {
    namespaced,
    state,
    getters:{
        conversationId:  () => {
            console.log(state.conversationId);
            return state.conversationId;
        }
    },
    mutations: {
        updateConversationId( payload:any) {
            console.log(payload,'设置');
            state.conversationId = payload;
        }
    }
};
